package com.computec.tray.source;

import java.util.ResourceBundle;

public class TraySource {
	   protected static TraySource traySource;
	    
	    private static ResourceBundle traySetup;
	    
	    
	    /**
	     * Creates a new instance of TraySource 
	     */
	    public TraySource() {
	    	traySetup = ResourceBundle.getBundle("traySetup");
	            
	    }
	    
	     public static TraySource getInstance() {
	        if (traySource == null) {
	        	traySource = new TraySource();
	        }
	        return traySource;
	    }
	     
	     public String getTraySetupKey(String key) {
	        return traySetup.getString(key); 
	    }	   
	     
}
